package zh.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zh.demo.dao.AdOperationLogDao;
import zh.demo.model.AdOperationLogEntity;

import java.util.List;
import java.util.Map;



@Service("adOperationLogService")
public class AdOperationLogService {
	@Autowired
	private AdOperationLogDao adOperationLogDao;

	public AdOperationLogEntity queryObject(Long id){
		return adOperationLogDao.queryObject(id);
	}

	public List<AdOperationLogEntity> queryList(Map<String, Object> map){
		return adOperationLogDao.queryList(map);
	}

	public int queryTotal(Map<String, Object> map){
		return adOperationLogDao.queryTotal(map);
	}

	public void save(AdOperationLogEntity adOperationLog){
		adOperationLogDao.save(adOperationLog);
	}

	public void update(AdOperationLogEntity adOperationLog){
		adOperationLogDao.update(adOperationLog);
	}

	public void delete(Long id){
		adOperationLogDao.delete(id);
	}

	public void deleteBatch(Long[] ids){
		adOperationLogDao.deleteBatch(ids);
	}
	
}
